combit List & Label 30 - .NET Help
Programming Introduction / Examples / General / Export / Restriction of Export Formats
Restriction of Export Formats

If only specific export formats should be available for the end user, the list of formats can be restricted exactly to these formats. This is possible with the option LlOptionString.Exports_Allowed.

using (ListLabel LL = new ListLabel())
{
    // Define/Assign data source
    LL.DataSource = CreateDataSet();

    // Only allow PDF and preview
    LL.Core.LlSetOptionString(LlOptionString.Exports_Allowed, "PDF;PRV");

    // Start export
    LL.Print();
}